package org.itboys.mobile.entity.mongo;


import org.itboys.mobile.dto.lasted.SundayUploadDto;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;
import java.util.Map;

/**
 * 作者：jiangxiong
 * 日期：2017年4月26日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_移动端（通用）_用户_实体。如果属性不够，请自行填充
 */
@Entity(value="SundayMember", noClassnameStored=true)
public class SundayMember extends BaseMongoEntity {
    //基础属性
    private String userName;//登陆账号。随机生成
    private String nickName;//昵称
    private String mobile;//手机号。用户注册标识
    private String mobileName;//联系电话
    private String address;//地址
    private String email;//电子邮箱
    private Integer userType;//用户类型。根据项目逻辑自行定义。1用户，2厨师，3商户
    private String image;//头像
    private String idCard;//身份证号
    private String birthDay;//生日
    private String sex;//性别
    private String desc;//个人简介
    //登录密钥信息
    private String password;//密码。md5加密
    private String weixinUnionId;//微信unionId
    private String qqUnionId;//腾讯QQunionId
    private String weiboUnionId;//新浪微博unionId、
    //支付密钥
    private String weixinOpenId;//微信openId
    private String payPassword; //支付密码.md5加密
    private Integer memberLevel = 1;  //1.普通会员  2.合伙人
    private String initCode;//邀请码
    private String path;  //二维码地址，全链接
    private String shopLogo;
    private String shopName;
    private String shopImage;
    private String shopInfo;
    private String recName; //推荐人昵称
    private String recLogo; //推荐店铺logo
    private Long recId = 0L; //推荐人Id

    //用户状态
    private int status;//0正常，1冻结
    //项目私有属性
    private Double grade;//用户评分。默认5
    private Long provinceId;//省ID
    private String provinceName;//省名称
    private Long cityId;//市Id
    private String cityName;//市名称
    private Long districtId;//区ID
    private String districtName;//区名称
    private Double longitude;// 经度
    private Double latitude;// 维度
    private String businessType;//商户类型。
    private String businessTime;//营业时间
    private List<SundayUploadDto> rollImages;//商户轮播图
    private String businessTag;//商户的套餐标签
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobileName() {
        return mobileName;
    }

    public void setMobileName(String mobileName) {
        this.mobileName = mobileName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWeixinUnionId() {
        return weixinUnionId;
    }

    public void setWeixinUnionId(String weixinUnionId) {
        this.weixinUnionId = weixinUnionId;
    }

    public String getQqUnionId() {
        return qqUnionId;
    }

    public void setQqUnionId(String qqUnionId) {
        this.qqUnionId = qqUnionId;
    }

    public String getWeiboUnionId() {
        return weiboUnionId;
    }

    public void setWeiboUnionId(String weiboUnionId) {
        this.weiboUnionId = weiboUnionId;
    }

    public String getWeixinOpenId() {
        return weixinOpenId;
    }

    public void setWeixinOpenId(String weixinOpenId) {
        this.weixinOpenId = weixinOpenId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public List<SundayUploadDto> getRollImages() {
        return rollImages;
    }

    public void setRollImages(List<SundayUploadDto> rollImages) {
        this.rollImages = rollImages;
    }

    public String getBusinessTag() {
        return businessTag;
    }

    public void setBusinessTag(String businessTag) {
        this.businessTag = businessTag;
    }

    public String getPayPassword() {return payPassword;}

    public void setPayPassword(String payPassword) {this.payPassword = payPassword;}

    public Integer getMemberLevel() {return memberLevel;}

    public void setMemberLevel(Integer memberLevel) {this.memberLevel = memberLevel;}

    public String getPath() {return path;}

    public void setPath(String path) {this.path = path;}

    public String getShopLogo() {return shopLogo;}

    public void setShopLogo(String shopLogo) {this.shopLogo = shopLogo;}

    public String getShopName() {return shopName;}

    public void setShopName(String shopName) {this.shopName = shopName;}

    public String getShopImage() {return shopImage;}

    public void setShopImage(String shopImage) {this.shopImage = shopImage;}

    public String getShopInfo() {return shopInfo;}

    public void setShopInfo(String shopInfo) {this.shopInfo = shopInfo;}

    public String getRecName() {return recName;}

    public void setRecName(String recName) {this.recName = recName;}

    public String getRecLogo() {return recLogo;}

    public void setRecLogo(String recLogo) {this.recLogo = recLogo;}

    public Long getRecId() {return recId;}

    public void setRecId(Long recId) {this.recId = recId;}

    public String getInitCode() {return initCode;}

    public void setInitCode(String initCode) {this.initCode = initCode;}
}
